<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<form action="CharServlet.do" method="post">
用户名：<input type="text" name="name"><br>
密码：  <input type="password" name="pass">
<input type="submit" value="登陆">
 </form>